#!python

Include("convertors.h")
Include("boost/python/suite/indexing/vector_indexing_suite.hpp")

# Pyste example file for Hello interface
#
hello_c = Class("Hello", "Hello.h")
use_shared_ptr(hello_c)

shared_c = Class("TestMeShared","Hello.h")
use_shared_ptr(shared_c)

auto_c = Class("TestMeAuto","Hello.h")
use_auto_ptr(auto_c)

module_code("""
// Mapping from C++ std::vector<int> to tuple
/*
boost_python_convertors::std_vector_to_tuple<int>();
boost_python_convertors::from_python_sequence<
             std::vector<int>,
             boost_python_convertors::variable_capacity_policy>();
             */
// Do mapping in both ways
//boost_python_convertors::std_vector_tuple_mapping<int>();

/*
class_<std::vector<float> >("float_vector")
   .def(vector_indexing_suite<std::vector<float> >())
;

class_<std::vector<int> >("int_vector")
   .def(vector_indexing_suite<std::vector<int> >())
;
*/


""")
